package top.superflow.entity

import java.sql.Date

import javax.persistence.{Column, Entity, Index}


@Entity
@Index(name = "IDX_MYIDX1", columnList = "id,name,surname")
class Task {
  
  
  @Column
  var taskId : Int = _
  
  @Column
  var name : String = _
  
  @Column
  @Index(name="IDX_TASK_PLUGINID", columnList ="pluginId")
  var pluginId : Int = _  
  
  @Column
  var lastModifyUser : String = _
  
  @Column
  var lastModifyDate : Date = _

}